package cn.bs.busuo.mall.dao.persist.mapper;

import cn.bs.busuo.mall.pojo.entity.Comment;
import cn.bs.busuo.mall.pojo.vo.CommentListItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper extends BaseMapper<Comment> {
    /*
    * 查询对应商品的评论
    * **/
    List<CommentListItemVO> list(Long goodsId);


}
